package com.saltedfish.tool.model;

import cn.droidlover.xdroidmvp.event.IBus;

public class ThirdLoginInfo extends IBus.AbsEvent{

    @Override
    public int getTag() {
        return 1000;
    }

    public String uid = "";
    public String openId;
    public String unionId;
    public String name;
    public String gender;
    public String iconUrl;
    public String refreshToken;
    public String accessToken;
    public String expiration;
    //第三方登录绑定状态类型 0登录，1绑定，2解除绑定
    public String threadType;

    public String bandPhone;

    public String code;

    public int loginType = 1;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public int getLoginType() {
        return loginType;
    }

    public void setLoginType(int loginType) {
        this.loginType = loginType;
    }

    public String getBandPhone() {
        return bandPhone;
    }



    public void setBandPhone(String bandPhone) {
        this.bandPhone = bandPhone;
    }


    @Override
    public String toString() {
        return "ThirdLoginInfo{" +
                "uid='" + uid + '\'' +
                ", openId='" + openId + '\'' +
                ", unionId='" + unionId + '\'' +
                ", name='" + name + '\'' +
                ", gender='" + gender + '\'' +
                ", iconUrl='" + iconUrl + '\'' +
                ", refreshToken='" + refreshToken + '\'' +
                ", accessToken='" + accessToken + '\'' +
                ", expiration='" + expiration + '\'' +
                ", threadType='" + threadType + '\'' +
                ", bandPhone='" + bandPhone + '\'' +
                ", code='" + code + '\'' +
                ", loginType=" + loginType +
                '}';
    }
}
